using AbpMvc.Demo.Products;
using AbpMvc.Demo.Web.Pages.Products;
using AutoMapper;

namespace AbpMvc.Demo.Web;

public class DemoWebAutoMapperProfile : Profile
{
    public DemoWebAutoMapperProfile()
    {
        //Define your object mappings here, for the Web project
        CreateMap<CreateEditProductViewModel, CreateOrUpdateProductDto>();
        CreateMap<ProductDto, CreateEditProductViewModel>();
    }
}
